package info.nixbear.tgcms.admin.client.view;

import info.nixbear.tgcms.admin.shared.request.RedirectProxy;

import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.Editor;
import com.google.gwt.editor.ui.client.ValueBoxEditorDecorator;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class RedirectEditor extends Composite implements Editor<RedirectProxy>  {

	private static RedirectEditorUiBinder uiBinder = GWT
			.create(RedirectEditorUiBinder.class);

	interface RedirectEditorUiBinder extends UiBinder<Widget, RedirectEditor> {
	}

	public RedirectEditor() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@UiField ValueBoxEditorDecorator<String> name;
	@UiField ValueBoxEditorDecorator<String> fromUrl;
	@UiField ValueBoxEditorDecorator<String> toUrl;
	@UiField ValueBoxEditorDecorator<String> commentAsString;
}
